package net.jxtz.jxtzos.spider;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.Map;

/**
 * @author lmh
 * @version 1.0
 * @date 2021-09-15 10:21
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class SpiderDefinition {

    public SpiderDefinition(String spiderName, String spiderCode) {
        this.spiderName = spiderName;
        this.spiderCode = spiderCode;
    }

    private String spiderCode;

    private String spiderName;

    private String expireTime;

    private int spiderBreathSecond;

    private int maxPage;

    private String imgUrl;

    private Map<String, Object> otherProperty;

}
